package one.stand.controller;

import one.stand.model.ResultModel;
import one.stand.response.IndustryResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author Administrator
 */
@RestController
@RequestMapping("industry")
public class IndustryController extends BaseController {
    /**
     * 获取行业
     * @param
     * @return
     */
    @PostMapping("getList")
    public ResultModel<List<IndustryResponse>> getList() {
        return industryService.getList();
    }
}
